package com.semidata.trp.business.model;

import java.util.Date;

public class AllocationModel {

    private int resourceId;
    private int orgId;
    private Date start;
    private Date end;
    private int type;
    private double price;
    private int amount;
    private int priority;

    public int getResourceId() {
        return resourceId;
    }

    public void setResourceId(int resourceId) {
        this.resourceId = resourceId;
    }

    public int getOrgId() {
        return orgId;
    }

    public void setOrgId(int orgId) {
        this.orgId = orgId;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    @Override
    public String toString() {
        return "AllocationModel [resourceId=" + resourceId + ", orgId=" + orgId + ", start=" + start + ", end=" + end + ", type=" + type + ", price=" + price + ", amount=" + amount + ", priority="
                + priority + "]";
    }

}
